/*
 * @Description  :
 * @Autor        : guoxi
 * @Date         : 2022-06-08 14:19:51
 * @LastEditors  : Please set LastEditors
 * @LastEditTime : 2022-06-08 14:30:17
 * @FilePath     : \rpms\src\api\meet.ts
 */
import http from "../utils/http/service";

// 新增学术
export const postMeetAdd = (data): any => {
  return http.post("/rdms-admin/meeting/add", data);
};
// 获取列表
export const postMeetList = (data): any => {
  return http.post("/rdms-admin/meeting/list", data);
};
// 获取列表
export const postMeetList2 = (data): any => {
  return http.get("/rdms-admin/meeting/2ndlist", data);
};

// 删除文档
export const postMeetDelete = (data): any => {
  return http.post(`/rdms-admin/meeting/delete/${data.id}`, {});
};

// 更新
export const postMeetUpdate = (data): any => {
  return http.post("/rdms-admin/meeting/update", data);
};

// 详情
export const postMeetInfo = (data): any => {
  return http.post(`/rdms-admin/meeting/detail/${data.id}`, {});
};
